#include "AhoKorasik.h"
#include <vector> 
#include <fstream>

int main()
{
    ifstream fis("stopwords.txt");
	string buffer;
	MatFiltr filtr;
	while( !fis.eof() ) {
		getline( fis, buffer );
		filtr.AddString( buffer );
	}
    filtr.Init();
    vector<int> res = filtr.Search("qweq");
	for( int i = 0; i < res.size(); i++ )
		printf( "%d   ", res[i] );
	return 0;
} 